﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>实时订单销售大数据中心</title>
    <link href="../../../static/css/data/bootstrap.css" rel="stylesheet" th:href="@{/css/data/bootstrap.css}" >
    <link rel="stylesheet" href="../../../static/css/data/base.css" th:href="@{/css/data/base.css}" >
    <link rel="stylesheet" href="../../../static/css/data/index.css" th:href="@{/css/data/index.css}" >


    <style>
        .stats-container {
            display: flex;
            align-items: center;
            justify-content: space-around;
            height: 100%;
        }
        .stat-box {
            flex: 1;
            margin: 0 10px;
            text-align: center;
        }
        .main_table thead {
            position: sticky;
            top: 0;
            z-index: 1;
            background-color: #1a2b5c;
            color: white;
        }
        .t_title{
            width: 100%;
            height: 100%;
            text-align: center;
            font-size: 2.5em;
            line-height: 80px;
            color: #fff;
            z-index: 1;
        }
        #chart_map{
            cursor: pointer;
        }
        .t_show{
            position: absolute;
            top: 0;
            right: 0;
            border-radius: 2px;
            background: #2C58A6;
            padding: 2px 5px;
            color: #fff;
            cursor: pointer;
        }
    </style>
</head>
<body>

<!--header-->
<div class="header">
    <div class="bg_header">
        <div class="header_nav fl t_title">
            订单销售大数据中心
        </div>
    </div>
</div>

<!--main-->
<div class="data_content">
    <!-- <div class="data_time">
        温馨提示: 点击模块后跳转至详情页面。
    </div> -->

    <div class="data_main">
        <div class="main_left fl">
            <div class="left_1 t_btn6" style="cursor: pointer;">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                    <!--右下边框-->
                    <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    <img th:src="@{/img/statics/t_4.png}" alt="">
                  当天快递企业月寄递量
                </div>
                <div id="chart_1" class="chart" style="width:100%;height: 280px;"></div>
            </div>
            <div class="left_2" style="cursor: pointer;">
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                    <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title">
                    <img th:src="@{/img/statics/t_2.png}" alt="">
                    当天销售、订单趋势
                </div>
                <div id="chart_2" class="chart t_btn10" style="width:100%;height: 280px;"></div>
<script>
</script>
            </div>
        </div>
        <div class="main_center fl">
            <div class="center_text" style="position: relative;">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                 <!--右下边框-->
                 <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
<!--                <div class="main_title" style="width: 230px;">-->
<!--                    <img th:src="@{/img/statics/t_3.png}" alt="">-->
<!--                    概览-->
<!--                </div>-->
                <div id="chart_map" style="width:100%;height:610px;">
                </div>
<!--                <div class="linshi_zdy">-->
<!--                    <ul>-->
<!--                        <li><span></span>2015批(8个)</li>-->
<!--                        <li><span></span>2016批(15个)</li>-->
<!--                        <li><span></span>2017批(13个)</li>-->
<!--                        <li><span></span>2018批(11个)</li>-->
<!--                    </ul>-->
<!--                </div>-->
            </div>
        </div>
<style type="text/css">
.linshi_zdy{
    position: absolute;
    right: 0px;
    top: 450px;
}
.linshi_zdy li{
    width: 150px;
    font-size: 16px;
    padding: 3px 8px;
    cursor: pointer;
}
.linshi_zdy span{
    display: block;
    width: 14px;
    height: 14px;
    float: left;
    border-radius: 50%;
    margin-top: 3px;
    margin-right: 5px;
}
.linshi_zdy li:first-child{
    color: #ff0000;
}
.linshi_zdy li:first-child span{
    background: #ff0000;
}
.linshi_zdy li:nth-child(2){
    color: #9cff00;
}
.linshi_zdy li:nth-child(2) span{
    background: #9cff00;
}
.linshi_zdy li:nth-child(3){
    color: #fff;
}
.linshi_zdy li:nth-child(3) span{
    background: #fff;
}
.linshi_zdy li:nth-child(4){
    color: #f4a100;
}
.linshi_zdy li:nth-child(4) span{
    background: #f4a100;
}
</style>
        <div class="main_right fr">
            <div class="right_1">
                <!--左上边框-->
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <!--右上边框-->
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <!--左下边框-->
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                    <!--右下边框-->
                    <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title" style="width:220px;">
                    <img th:src="@{/img/statics/t_4.png}" alt="">
                    全区快递月寄递趋势
                </div>
                <div id="chart_3" class="echart t_btn7" style="width:100%;height: 280px;"></div>
<script>
    // 快递月寄递数量数据 - 最近6个月
    var expressData = {
        months: ['2023-05', '2023-06', '2023-07', '2023-08', '2023-09', '2023-10'],
        express: [185000, 192000, 203000, 215000, 228000, 235000]
    };
</script>
            </div>
<!--            <div class="right_2">-->
<!--                &lt;!&ndash;左上边框&ndash;&gt;-->
<!--                <div class="t_line_box">-->
<!--                    <i class="t_l_line"></i>-->
<!--                    <i class="l_t_line"></i>-->
<!--                </div>-->
<!--                &lt;!&ndash;右上边框&ndash;&gt;-->
<!--                <div class="t_line_box">-->
<!--                    <i class="t_r_line"></i>-->
<!--                    <i class="r_t_line"></i>-->
<!--                </div>-->
<!--                &lt;!&ndash;左下边框&ndash;&gt;-->
<!--                <div class="t_line_box">-->
<!--                    <i class="l_b_line"></i>-->
<!--                    <i class="b_l_line"></i>-->
<!--                </div>-->
<!--                    &lt;!&ndash;右下边框&ndash;&gt;-->
<!--                    <div class="t_line_box">-->
<!--                    <i class="r_b_line"></i>-->
<!--                    <i class="b_r_line"></i>-->
<!--                </div>-->
<!--                <div class="main_title" style="width:200px;">-->
<!--                    <img th:src="@{/img/statics/t_5.png}" alt="">-->
<!--                    卖家入驻情况-->
<!--                </div>-->
<!--                <div id="chart_4" class="echart fl t_btn4" style="width:100%;height: 280px;cursor: pointer;"></div>-->
<!--            </div>-->
            <div class="right_2">
                <!--左上边框 -->
                <div class="t_line_box"><i class="t_l_line"></i><i class="l_t_line"></i></div>
                <!--右上边框 -->
                <div class="t_line_box"><i class="t_r_line"></i><i class="r_t_line"></i></div>
                <!--左下边框 -->
                <div class="t_line_box"><i class="l_b_line"></i><i class="b_l_line"></i></div>
                <!--右下边框 -->
                <div class="t_line_box"><i class="r_b_line"></i><i class="b_r_line"></i></div>

                <!-- 标题 -->
                <div class="main_title" style="width:200px;">
                    <img th:src="@{/img/statics/t_5.png}" alt="">
                    当天销售统计
                </div>

                <!-- 数字面板 -->
                <div class="stats-container">
                    <div class="stat-box">
                        <div class="stat-title">当日销售额</div>
                        <div class="stat-value" id="todaySales">186,350.00 元</div>
                    </div>
                    <div class="stat-box">
                        <div class="stat-title">当日订单数</div>
                        <div class="stat-value" id="todayOrders">2,350 件</div>
                    </div>
                    <!-- 图表区域 -->
<!--                    <div id="chart_4" class="echart t_btn4" style="width:100%; height: 200px; margin-top: 20px;"></div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="data_bottom">
        <div class="bottom_1 fl t_btn5" style="cursor: pointer;">
            <div class="t_line_box">
                <i class="t_l_line"></i>
                <i class="l_t_line"></i>
            </div>
            <div class="t_line_box">
                <i class="t_r_line"></i>
                <i class="r_t_line"></i>
            </div>
            <div class="t_line_box">
                <i class="l_b_line"></i>
                <i class="b_l_line"></i>
            </div>
                <div class="t_line_box">
                <i class="r_b_line"></i>
                <i class="b_r_line"></i>
            </div>
            <div class="main_title">
                <img th:src="@{/img/statics/t_7.png}" alt="">
                实时订单销售交易概况
            </div>
            <div class="main_table t_btn8" style="height: 250px; overflow-y: auto;">
                    <table>
                        <thead>
                        <tr>
                            <th>概况名称</th>
                            <th>详情</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>累计交易总金额</td>
                            <td>4058.56 万元</td>
                        </tr>
                        <tr>
                            <td>累计交易订单数量</td>
                            <td>437753 件</td>
                        </tr>
                        <tr>
                            <td>累计产品SKU数量</td>
                            <td>360 个</td>
                        </tr>
                        <tr>
                            <td>本月交易总额</td>
                            <td>242.42 万元</td>
                        </tr>
                        <tr>
                            <td>本月交易订单数量</td>
                            <td>5283 件</td>
                        </tr>
                        <tr>
                            <td>本月用户登录数量</td>
                            <td>1000 次</td>
                        </tr>
                        <tr>
                            <td>本月新增用户数</td>
                            <td>150 人</td>
                        </tr>
                        <tr>
                            <td>平均客单价</td>
                            <td>458.72 元</td>
                        </tr>
                        <tr>
                            <td>转化率</td>
                            <td>12.5%</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <script>
                    $(function() {
                        // 表格滚动效果
                        function scrollTable(tableId, speed) {
                            var $table = $(tableId);
                            var $tbody = $table.find('tbody');
                            var $rows = $tbody.find('tr');
                            var rowHeight = $rows.first().outerHeight();
                            var totalHeight = rowHeight * $rows.length;

                            if($rows.length > 6) { // 只有数据足够时才滚动
                                setInterval(function() {
                                    $tbody.animate({'margin-top': -rowHeight}, speed, function() {
                                        $tbody.css('margin-top', 0);
                                        $tbody.append($rows.first().detach());
                                    });
                                }, 3000);
                            }
                        }

                        // 为所有需要滚动的表格添加滚动效果
                        scrollTable('.main_table.t_btn8 table', 500);
                        scrollTable('.main_table.t_btn9 table', 500);
                        scrollTable('.main_table.t_btn2 table', 500);
                    });
                </script>
        </div>
        <div class="bottom_center fl">
            <div class="bottom_2 fl">
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                    <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title" style="width:300px;left:40%;">
                    <img th:src="@{/img/statics/t_7.png}" alt="">
                    实时热销产品排行榜
                </div>
                <div class="main_table t_btn9" style="height: 250px; overflow-y: auto;">
                    <table>
                        <thead>
                        <tr>
                            <th>产品名称</th>
                            <th>产地</th>
                            <th>月销售量</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>荔浦百香果</td>
                            <td>荔浦</td>
                            <td>12.5 万件</td>
                        </tr>
                        <tr>
                            <td>荔浦砂糖桔</td>
                            <td>荔浦</td>
                            <td>28.0 万件</td>
                        </tr>
                        <tr>
                            <td>90g将军峰小方盒绿茶</td>
                            <td>广西贺州</td>
                            <td>8.6 万件</td>
                        </tr>
                        <tr>
                            <td>珍珠糯玉米</td>
                            <td>忻城县</td>
                            <td>15.3 万件</td>
                        </tr>
                        <tr>
                            <td>桂花红糖</td>
                            <td>大新县</td>
                            <td>9.2 万件</td>
                        </tr>
                        <tr>
                            <td>桂林米粉</td>
                            <td>广西桂林</td>
                            <td>32.7 万件</td>
                        </tr>
                        <tr>
                            <td>柳州螺蛳粉</td>
                            <td>广西柳州</td>
                            <td>45.8 万件</td>
                        </tr>
                        <tr>
                            <td>巴马山茶油</td>
                            <td>广西河池</td>
                            <td>6.9 万件</td>
                        </tr>

                        </tbody>
                    </table>
                </div>
            </div>
            <div class="bottom_3 fl">
                <div class="t_line_box">
                    <i class="t_l_line"></i>
                    <i class="l_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="t_r_line"></i>
                    <i class="r_t_line"></i>
                </div>
                <div class="t_line_box">
                    <i class="l_b_line"></i>
                    <i class="b_l_line"></i>
                </div>
                    <div class="t_line_box">
                    <i class="r_b_line"></i>
                    <i class="b_r_line"></i>
                </div>
                <div class="main_title" style="width:260px;left:45%;">
                    <img th:src="@{/img/statics/t_7.png}" alt="">
                   实时热销店铺排行榜
                </div>
                <div class="main_table t_btn2" style="height: 250px; overflow-y: auto;">
                    <table>
                        <thead>
                        <tr>
                            <th>店铺名称</th>
                            <th>产品</th>
                            <th>销售额(月销)</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>鲜迪食品专营店</td>
                            <td>海鸭蛋</td>
                            <td>2.8万</td>
                        </tr>
                        <tr>
                            <td>中鼎水果专营店</td>
                            <td>红心芭乐番石榴</td>
                            <td>2.5万</td>
                        </tr>
                        <tr>
                            <td>中闽飘香旗舰店</td>
                            <td>广西桂林罗汉果</td>
                            <td>2.4万</td>
                        </tr>
                        <tr>
                            <td>芋小妹旗舰店</td>
                            <td>广西荔浦大芋头</td>
                            <td>1.3万</td>
                        </tr>
                        <tr>
                            <td>桂甄堂旗舰店</td>
                            <td>柳州螺狮粉</td>
                            <td>1.1万</td>
                        </tr>
                        <tr><td>天天优选旗舰店</td><td>广西百香果干</td><td>0.9万</td></tr>
                        <tr><td>南国特产坊</td><td>木瓜丝</td><td>0.7万</td></tr>
                        <tr><td>桂香源食品</td><td>桂林米粉</td><td>0.6万</td></tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="bottom_4 fr">
            <div class="t_line_box">
                <i class="t_l_line"></i>
                <i class="l_t_line"></i>
            </div>
            <div class="t_line_box">
                <i class="t_r_line"></i>
                <i class="r_t_line"></i>
            </div>
            <div class="t_line_box">
                <i class="l_b_line"></i>
                <i class="b_l_line"></i>
            </div>
                <div class="t_line_box">
                <i class="r_b_line"></i>
                <i class="b_r_line"></i>
            </div>
            <div class="main_title">
                <img th:src="@{/img/statics/t_7.png}" alt="">
                实时用户登录情况
            </div>
            <div class="main_table t_btn3 table_zdy" style="height: 250px; overflow-y: auto;">
                <table>
                    <thead>
                    <tr>
                        <th>用户名</th>
                        <th>平台</th>
                        <th>时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr><td>赵*杰</td><td>京东</td><td>2023-10-15 16:10:22</td></tr>
                    <tr><td>周*婷</td><td>拼多多</td><td>2023-10-15 17:05:41</td></tr>
                    <tr><td>黄*强</td><td>淘宝</td><td>2023-10-15 18:30:15</td></tr>
                    <tr>
                        <td>王*如</td>
                        <td>京东</td>
                        <td>2023-10-15 09:30:25</td>
                    </tr>
                    <tr>
                        <td>李*云</td>
                        <td>淘宝</td>
                        <td>2023-10-15 10:15:42</td>
                    </tr>
                    <tr>
                        <td>张*华</td>
                        <td>拼多多</td>
                        <td>2023-10-15 11:05:18</td>
                    </tr>
                    <tr>
                        <td>刘*明</td>
                        <td>京东</td>
                        <td>2023-10-15 13:22:37</td>
                    </tr>
                    <tr>
                        <td>陈*芳</td>
                        <td>淘宝</td>
                        <td>2023-10-15 15:45:09</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>

<script>
    function autoScrollTables() {
        const tables = document.querySelectorAll('.main_table');

        tables.forEach(table => {
            let scrollPosition = 0;
            const scrollStep = 1;
            const scrollInterval = 50;

            // 自动添加测试数据（如果不足）
            const tbody = table.querySelector('tbody');
            const rows = tbody.querySelectorAll('tr');
            if (rows.length < 3) {
                for (let i = 0; i < 3; i++) {
                    const clone = rows[0].cloneNode(true);
                    tbody.appendChild(clone);
                }
            }

            setInterval(() => {
                scrollPosition += scrollStep;
                if (scrollPosition >= table.scrollHeight - table.clientHeight) {
                    scrollPosition = 0;
                }
                table.scrollTop = scrollPosition;
            }, scrollInterval);
        });
    }

    window.onload = autoScrollTables;

</script>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
<style>
    .stats-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        /*padding: 10px;*/
        border-radius: 5px;
    }
    .stat-title{
        font-size: 18px;
        font-weight: 500;
        color: #3ec9ffc2;
    }
    .stat-value{
        font-size: 30px;
        margin-top: 10px;
    }
    .stat-box {
        position: relative;
        text-align: center;
        margin-bottom: 20px;
        width: 90%;
        padding: 30px 0;
        background: linear-gradient(135deg, #0e3160e0 0%, #1a2b5c 100%);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover; /* 自动适配 div 长宽比例 */
        color: #fff;
        font-family: '微软雅黑', sans-serif;
    }
</style>
<script>
    function randomIncrement() {
        return Math.floor(Math.random() * 11);
    }

    function updateStats() {
        const todaySalesElement = document.getElementById('todaySales');
        const todayOrdersElement = document.getElementById('todayOrders');

        let todaySales = parseFloat(todaySalesElement.innerText.replace(/[^0-9.-]+/g, ""));
        let todayOrders = parseInt(todayOrdersElement.innerText.replace(/[^0-9.-]+/g, ""));

        todaySales += randomIncrement();
        todayOrders += randomIncrement();

        todaySalesElement.innerText = todaySales.toLocaleString() + ' 元';
        todayOrdersElement.innerText = todayOrders.toLocaleString() + ' 件';
    }

    setInterval(updateStats, 1000);
</script>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    lineStyle:{
                        color: '#519cff'
                    },
                    alignWithLabel: true,
                    interval:0
                }
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '入驻数据',
                nameTextStyle:{
                    color:'#fff'
                },
                interval: 100000,
                min: 0,
                splitLine:{
                    show:true,
                    lineStyle:{
                        color: '#23303f'
                    }
                },
                axisLine: {
                    show:false,
                    lineStyle: {
                        color: '#115372'
                    }
                },
                axisTick: {
                    show: false
                },
                axisLabel:{
                    textStyle:{
                        color:"#fff"
                    },
                    alignWithLabel: true,
                    interval:0

                }
            }
        ],
        color:"yellow",
        series: [
            {
                name:'电商企业入驻',
                type:'bar',
                data: [dianshang[0][0],dianshang[0][1],dianshang[0][2],dianshang[0][3],dianshang[0][4],dianshang[0][5]],
                boundaryGap: '45%',
                barWidth:'40%',

                itemStyle: {
                    normal: {
                        color: function(params) {
                            var colorList = [
                                '#6bc0fb','#7fec9d','#fedd8b','#ffa597','#84e4dd','#6bc0fb'
                            ];
                            return colorList[params.dataIndex]
                        },label: {
                            show: true,
                            position: 'top',
                            formatter: '{c}'
                        }
                    }
                }
            }
        ]
    };
    changedetail.setOption(option);
</script>
</html>
</body>
<script th:src="@{/js/data/jquery-2.2.1.min.js}"></script>
<script th:src="@{/js/data/bootstrap.min.js}"></script>
<script th:src="@{/js/data/common.js}"></script>
<script th:src="@{/js/data/echarts.min.js}"></script>
<script th:src="@{/js/data/datatool.js}"></script>
<script th:src="@{/js/data/index.js}"></script>
<script th:src="@{/js/data/guangxi.js}"></script>
<script type="text/javascript">

    var prefix = ctx + "system/statistics";
    var dianshang = [
        [120, 85, 60, 200, 90, 75], // 第一组
    ];
    function get_shuju(){
        $.ajax({
            type : "post",
            async:false,
            url:"/record/dianshang",
            data:{},
            dataType:"json",
            success:function(res){
                // console.log(res);
                // if (res) {
                    // for (var i = 0; i < res.length; i++) {
                        dianshang.push(res);
                    // };
                // };
            }
        })
        return dianshang;
    }

    //电商企业入驻情况
    // dianshang = get_shuju();

    var changedetail = echarts.init(document.getElementById('chart_4'));
    option = {
        tooltip: {
            trigger: 'axis',
            // formatter: '{b}</br>{a}: {c}</br>{a1}: {c1}'
        },
        toolbox: {
            show:false,
            feature: {
                dataView: {show: true, readOnly: false},
                magicType: {show: true, type: ['line', 'bar']},
                restore: {show: true},
                saveAsImage: {show: true}
            }
        },
        legend: {
            data:['',''],
            show:false
        },
        grid:{
            top:'18%',
            right:'5%',
            bottom:'8%',
            left:'5%',
            containLabel: true
        },
        xAxis: [
            {
                type: 'category',
                data: ['名优企业','技术服务','技术开发','电子商务','网络推广','涉互联网企业'],
                splitLine:{
                    show:false,
                    lineStyle:{
                        color: '#3c4452'
                    }
                }
